package com.tuyrt.windy.logic.model

import com.google.gson.annotations.SerializedName

data class DailyResponse(val result: Result, val status: String) {

    data class Result(val daily: Daily)
    data class Daily(
        @SerializedName("life_index")
        val lifeIndex: LifeIndex,
        val skycon: List<Skycon>,
        val temperature: List<Temperature>,
    )

    data class Skycon(val date: String, val value: String)

    data class Temperature(val max: Float, val min: Float)

    data class LifeIndex(
        val carWashing: List<LifeDescription>,
        val coldRisk: List<LifeDescription>,
        val dressing: List<LifeDescription>,
        val ultraviolet: List<LifeDescription>
    )

    data class LifeDescription(
        val date: String,
        val desc: String,
        val index: String
    )

}